import Vue from 'vue';
import App from './App.vue';
// 引入ElementUI
import '@/plugins/element';
// 引入VueRouter
import router from '@/routers/index';
// 引入Vuex
import store from '@/stores/index';
// 引入为Object封装的forEach函数
import '@/plugins/objectForEach';
// 全局引入Echarts
import echarts from 'echarts';


Vue.config.productionTip = false;
new Vue({
  render: h => h(App),
  router,
  store,
  beforeCreate() {
    Vue.prototype.$bus = this;
    Vue.prototype.$echarts = echarts;
  }
}).$mount('#app')
